package com.th.supcom.pds.phamapply.client.service;

import net.carefx.framework.container.client.exception.UiException;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.th.supcom.pds.phamapply.client.common.InpPhamApplyServiceFactory;
import com.th.supcom.pds.phamapply.client.model.OrderExecModel;

/**
 * OrderExec 服务接口.
 * 
 * 医嘱拆分表.
 */
@RemoteServiceRelativePath (InpPhamApplyServiceFactory.BASE_URL + "orderExec.do")
public interface OrderExecRpc extends RemoteService
{

    /**
     * 查询信息.
     * 
     * @param Model
     * @throws UiException 界面异常
     */
    public OrderExecModel getOrderExecById (Long id) throws UiException;

    /**
     * 添加信息.
     * 
     * @param Model
     * @throws UiException 界面异常
     */
    public void addOrderExec (OrderExecModel model) throws UiException;

    /**
     * 修改信息.
     * 
     * @param Model
     * @throws UiException 界面异常
     */
    public void modifyOrderExec (OrderExecModel model) throws UiException;

    /**
     * 删除信息.
     * 
     * @param code
     * @throws UiException 界面异常
     */
    public void removeOrderExec (Long id) throws UiException;

    /**
     * 分页查询信息.
     * 
     * @param config
     * @return
     */
    public PagingLoadResult <OrderExecModel> getOrderExecListWithPaging (PagingLoadConfig config);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}